package com.arpa.wms.mapper;

import com.arpa.wms.domain.dto.CarrierDTO;
import com.arpa.wms.domain.entity.Carrier;
import com.arpa.wms.domain.vo.CarrierVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 承运商 Mapper 接口
 * </p>
 *
 * @author LEO
 * @since 2021-2-22
 */
public interface CarrierMapper extends BaseMapper<Carrier> {

    /**
     * 查询列表
     * @param carrierDTO
     * @return
     */
    List<CarrierVO> queryList(CarrierDTO carrierDTO);

    /**
     * 查询合计,包含总数
     * @param carrierDTO
     * @return
     */
    CarrierVO queryListSum(CarrierDTO carrierDTO);

}
